package com.markhsiu.MiniMQ.model.constant;

/**
 * 消息来源
 * Created by Mark Hsiu on 2017/2/13.
 */
public enum MessageSourceEnum {

    CUSTOMER(1),
    BROKER(2),
    PRODUCER(3);

    private int source;

    private MessageSourceEnum(int source) {
        this.source = source;
    }

    public int getSource() {
        return source;
    }
}
